<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include::header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${video.id}"  type="hidden">
<!--							<div class="form-group">	-->
<!--								<label class="col-sm-3 control-label">视频路径：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="url" name="url" th:value="${video.url}" class="form-control" type="text">-->
<!--								</div>-->
<!--							</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">视频名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" placeholder="请输入视频名称" th:value="${video.name}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">视频创作者：</label>
								<div class="col-sm-8">
									<input id="author" name="author" placeholder="请输入视频作者" th:value="${video.author}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">视频简介：</label>
								<div class="col-sm-8">
									<textarea id="info" name="info" placeholder="请输入视频简介" th:text="${video.info}" class="layui-textarea" type="text" style="width: 100%;height: 70px;padding: 10px"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/cms/videoList/edit.js">
        function close_self() {
            var index=parent.layer.getFrameIndex(window.name);
            parent.layer.close(index);
        }
        $('.draft_btn').click(function () {
            close_self();
            layer.close(layer.index);
        });
	</script>
</body>
</html>
